<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.zjr.domain.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link type="text/css" rel="stylesheet" href="<%=path %>/skin/css/base_style.css" />
<link type="text/css" rel="stylesheet" href="<%=path %>/skin/css/index.css" />
<script type="text/javascript" src="<%=path %>/skin/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="<%=path %>/skin/js/index.js"></script>
</head>
<%
	HttpSession userSession = request.getSession();
	User user = (User)userSession.getAttribute("user");
	
	String position = "";
	
	switch(user.getPosition()){
		case 0: position = "员工";break;
		case 1: position = "部长";break;
		case 2: position = "总经理";break;
		case 3: position = "管理员";break;
	}
%>
<body>
	<div class="tit_bg1">
    	<div class="tit_bg2">
        <a href="<%=path %>/user/user_login.jsp" class="fyh button_out">退出</a>
        <div class="fyh tit_welcome"><%=user.getUsername() %>[<%=position %>]</div>
        <div class="button_color">
            <span class="fyh color_text">皮肤设置：</span>
            <img src="<%=path %>/skin/images/index_tit_icon_03.png" class="tit_img"/>
            <img src="<%=path %>/skin/images/index_tit_icon_05.png" class="tit_img"/>
            <img src="<%=path %>/skin/images/index_tit_icon_07.png" class="tit_img"/>
        </div>
        <h1 class="fyh tit_text">用户管理系统</h1>
        </div>
    </div>
    <div class="left" onselectstart="return false">
        <ul class="left_first_ul">
            <li class="left_first_li">
                <a class="left_first_a left_ft fyh is_click">系统管理</a>
                <ul class="left_second_ul left_show1">
                    <li class="left_second_li left_sd_addli">
                        <a class="left_second_a left_sd fyh click ">用户管理</a>
                        <ul class="left_third_ul left_show2">
                            <li class="left_third_li"><a id="<%=path %>/user/user_add.jsp" class="left_third_a fyh">添加用户</a></li>
                            <li class="left_third_li"><a id="<%=path %>/UserServlet?flag=query" class="left_third_a fyh">用户列表</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                    <li class="left_second_li">
                        <a class="left_second_a fyh">日志管理</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a id="<%=path %>/log/log_add.jsp" class="left_third_a fyh">添加日志</a></li>
                            <li class="left_third_li"><a id="<%=path %>/LogServlet?flag=query" class="left_third_a fyh">查看日志</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                    <li class="left_second_li">
                        <a class="left_second_a fyh">部门管理</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a id="<%=path %>/DepartmentSerlvet?flag=allDepartments" class="left_third_a fyh">查看所有部门</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                </ul>
            </li>
            <li class="left_first_li">
                <a class="left_first_a fyh">一级栏目名称</a>
                <ul class="left_second_ul">
                    <li class="left_second_li">
                        <a class="left_second_a fyh">二级栏目名称</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                    <li class="left_second_li">
                        <a class="left_second_a fyh">二级栏目名称</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                    <li class="left_second_li">
                        <a class="left_second_a fyh">二级栏目名称</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                </ul>
            </li>
            <li class="left_first_li">
                <a class="left_first_a fyh">一级栏目名称</a>
                <ul class="left_second_ul">
                    <li class="left_second_li">
                        <a class="left_second_a fyh">二级栏目名称</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                    <li class="left_second_li">
                        <a class="left_second_a fyh">二级栏目名称</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                    <li class="left_second_li">
                        <a class="left_second_a fyh">二级栏目名称</a>
                        <ul class="left_third_ul">
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                            <li class="left_third_li"><a class="left_third_a fyh">三级栏目名称</a></li>
                        </ul>
                    </li>
                </ul>
            </li>
           
        </ul>
    </div>
    <div class="right">
    	<div class="right_titlayout">
        	<h3 class="right_h3"><img src="<%=path %>/skin/images/table_but_03.png" class="right_titimg"/><span class="right_tit fyh"></span></h3>
            <div class="line"></div>
            <div class="middle_bg">
           		<div class="middle_choose">
                	<label class="middle_lab fyh">高级搜索：</label>
                    <select name="" class="middle_select fyh">
                    	<option value="">通知</option>
                        <option value="">高级</option>
                        <option value="">紧急</option>
                    </select>
                    <em class="middle_txtlay">
                    	<input type="text" name="" class="middle_text"/>
                        <span class="middle_ts">请输入关键字</span>
                     </em>
                    <input type="button" class="middle_button" value="搜&nbsp;索"/>
                </div>
            	<ul class="middle_ul">
                
                </ul>
            </div>
        </div>
        <div id="show" width="100%">
       		<iframe frameborder="0" src="<%=path %>/user/main.jsp" scrolling="auto" class="iframe"></iframe>
        </div>
    </div>
</body>
</html>
